        <div class="widget">
            <div class="title"><?= image_tag('icons/dark/users.png', array('class' => 'titleIcon')); ?><h6>Contact list</h6>
                <div class="topIcons">
                    <a class="tipS" href="javascript:void(0);" original-title="Add New Contact"><?= image_tag('icons/control/16/plus.png'); ?></a>
                </div>
            </div>
            <?php if (count($contacts) > 0): ?>
                <ul class="partners">
                    <?php foreach ($contacts as $contact): ?>
                        <li>
                            <a class="floatL" title="" href="javascript:void(0);"><?= image_tag('user.png'); ?></a>
                            <div class="pInfo">
                                <a title="" href="javascript:void(0);"><strong><?= $contact['title'] . "/ " . $contact['name'] ?></strong></a>
                                <i><?= $contact['position'] ?></i>	
                                <?php foreach ($contact['ContactPhone'] as $phone): ?>
                                    <a style="margin: 10px;"><?= image_tag('icons/edit.png'); ?> <?= $phone['phone'] ?></a>
                                    <br>
                                <?php endforeach; ?>
                            </div>
                            <div class="pLinks">
                                <a class="tipS" href="#" original-title="Delete"><?= image_tag('icons/remove.png'); ?></a>
                                <a class="tipS" href="javascript:void(0);" original-title="Edit"><?= image_tag('icons/editTop.png'); ?></a>
                                <?php if ($contact['email']): ?>
                                    <a class="tipW" href="mailto:<?= $contact['email'] ?>" original-title="Send an email"><?= image_tag('icons/pEmail.png'); ?></a>
                                <?php endif; ?>
                            </div>
                        </li>
                    <?php endforeach; ?>
                </ul>
            <?php else: ?>
                <div class="body" style="text-align: center;">No contact found ... <a href="javascript:void(0);" class="underline" style="font-size: 11px;">Add new Conatct</a></div>
            <?php endif; ?>
        </div>